package com.data.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * Created by rize on 2019/4/8.
 */
@TableName("t_admin")
@Data
public class Admin extends SuperDO  implements Serializable {
    @TableField("username")
    private String username;
    @TableField("password")
    private String password;
    @TableField("realname")
    private String realname;
    @TableField("role_id")
    private Long roleId;
    @TableField("gender")
    private Integer gender;
    @TableField("phone")
    private String phone;
    @TableField("status")
    private Integer status;
    @TableField(exist = false)
    private String roleName;
    @TableField(exist = false)
    private Role role;



}
